package com.zg.message.service.impl;


import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.zg.common.core.dao.IDao;
import com.zg.common.core.dao.message.MsgConfigDao;
import com.zg.common.core.dao.message.entity.MsgConfig;
import com.zg.common.core.service.PageBaseService;
import com.zg.message.service.MsgConfigService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/5/22 10:47
 */

@Slf4j
@Service
public class MsgConfigServiceImpl extends PageBaseService<MsgConfig,MsgConfigDao> implements MsgConfigService {

//    @Autowired
//    @Qualifier("msgConfigDao")
//    @Override
//    protected void setDao(IDao<MsgConfig> dao) {
//        this.dao = dao;
//    }

//    public  LambdaQueryWrapper<MsgConfig> buildQueryWrapper(MsgConfig pageReq){
//        LambdaQueryWrapper<MsgConfig> qw = new LambdaQueryWrapper<>();
//        qw.like(!StrUtil.isEmpty(pageReq.getTargetName()), MsgConfig::getTargetName, pageReq.getTargetName());
//        return qw;
//
//    }
}
